// JavaScript Document
function hideDiv(div_id){
            $("#" + div_id).animate({opacity: "hide" }, 300);
}
function popupDiv(div_id) {
            var div_obj = $("#" + div_id);
            var winWidth = $(window).width();
            var winHeight = $(window).height();
            var popHeight = div_obj.height();
            var popWidth = div_obj.width();
            div_obj.animate({
				 opacity: "show", left: (winWidth-popWidth) / 2, top: (winHeight-popHeight)/2,width:popWidth,height:popHeight}, 300);          
}
$(function() {
            $(".TrainScore_box").easydrag();
            $(".TrainScore_box").setHandler(".TrainScore_box .TrainScore_head");
});

$(function() {
    $(".AddTrainScore_box").easydrag();
    $(".AddTrainScore_box").setHandler(".AddTrainScore_box .AddTrainScore_head");
});